 {
        
      cc.Class({
            extends: cc.Component,
            properties: {
                spTileType: {
                    default: null,
                    type: cc.Sprite
                }
            },
            start: function () {
            },
            bindData: function (e) {
                var t = null;
                e == Global.config.tileColor.TILE_COLOR_WAN && (t = "GR_Selected_wan"), e == Global.config.tileColor.TILE_COLOR_TONG && (t = "GR_Selected_tong"),
                e == Global.config.tileColor.TILE_COLOR_TIAO && (t = "GR_Selected_tiao"), Global.spriteAtlas.setSpriteFrame(this.spTileType, "Texture/table", t),
                    Global.spriteAtlas.setSpriteFrame(this.spTileType.node.children[0].getComponent(cc.Sprite), "Texture/table", t);
            }
        })
    }